package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/14 10:14
 */
@Entity
@Table(name = "ih_patient_cost")
public class IhPatientCost extends BaseEntity{
    @Id
    private String code;//住院病人费用ID [CODE, VARCHAR2, 32]
    private BigDecimal costPrice;//费用单价 [COST_PRICE, NUMBER, 14.4]
    private BigDecimal costMoney;//费用金额 [COST_MONEY, NUMBER, 14.4]
    private BigDecimal prefRatio;//优惠比例 [PREF_RATIO, NUMBER, 14.4]
    private BigDecimal preferMoney;//优惠金额 [PREFER_MONEY, NUMBER, 14.4]
    private String inpDepartCode;//住院科室 [INP_DEPART_CODE, VARCHAR2, 32]
    private String inpDoctorCode;//住院医生 [INP_DOCTOR_CODE, VARCHAR2, 32]
    private String inpNurseCode;//住院护士 [INP_NURSE_CODE, VARCHAR2, 32]
    private String billDoctorCode;//开单医生 [BILL_DOCTOR_CODE, VARCHAR2, 32]
    private String billDepartCode;//开单科室 [BILL_DEPART_CODE, VARCHAR2, 32]
    private String execDepartCode;//执行科室;从医嘱中获取 [EXEC_DEPART_CODE, VARCHAR2, 32]
    private String tstatus;//收费状态;1-未计费 2-已计费 [TSTATUS, VARCHAR2, 1]
    private String settTstatus;//结算标识; 1-未结算 2-已结算 [SETT_TSTATUS, VARCHAR2, 1]
    private String settlementCode;//结算编码 [SETTLEMENT_CODE, VARCHAR2, 32]
    private String isValid;//有效标志;1-有效 2-无效 [IS_VALID, VARCHAR2, 1]
    private String wholeCode;//统筹类别编码 [WHOLE_CODE, VARCHAR2, 32]
    private String createUser;//创建人;操作员 [CREATE_USER, VARCHAR2, 32]
    private Date createTime;//创建时间 [CREATE_TIME, DATE, 7]
    private Date updateTime;//更新时间 [UPDATE_TIME, DATE, 7]
    private String inpCode;//住院号 [INP_CODE, VARCHAR2, 32]
    private String costType;//费用类别;1收费2退费 [COST_TYPE, VARCHAR2, 1]
    private String inpCostSource;//费用来源;1医嘱记账2手动记账3固定费用4医嘱附加5医技计费6药房摆药7其他 [INP_COST_SOURCE, VARCHAR2, 1]
    private String inpCostType;//医嘱费用来源; 1药品 2诊疗 [INP_COST_TYPE, VARCHAR2, 1]
    private String beforeInpCostCode;//原费用记录PK;针对退费 [BEFORE_INP_COST_CODE, VARCHAR2, 32]
    private String isAppend;//是否医嘱附加费项目;1-是 2-否 [IS_APPEND, VARCHAR2, 1]
    private String appendCostitemCode;//医嘱附加收费项目ID [APPEND_COSTITEM_CODE, VARCHAR2, 32]
    private String costItemCode;//费用项目编码 [COST_ITEM_CODE, VARCHAR2, 32]
    private BigDecimal costCount;//费用数量 [COST_COUNT, NUMBER, 14.4]
    private Date chargingTime;//计费时间

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public BigDecimal getCostMoney() {
        return costMoney;
    }

    public void setCostMoney(BigDecimal costMoney) {
        this.costMoney = costMoney;
    }

    public BigDecimal getPrefRatio() {
        return prefRatio;
    }

    public void setPrefRatio(BigDecimal prefRatio) {
        this.prefRatio = prefRatio;
    }

    public BigDecimal getPreferMoney() {
        return preferMoney;
    }

    public void setPreferMoney(BigDecimal preferMoney) {
        this.preferMoney = preferMoney;
    }

    public String getInpDepartCode() {
        return inpDepartCode;
    }

    public void setInpDepartCode(String inpDepartCode) {
        this.inpDepartCode = inpDepartCode;
    }

    public String getInpDoctorCode() {
        return inpDoctorCode;
    }

    public void setInpDoctorCode(String inpDoctorCode) {
        this.inpDoctorCode = inpDoctorCode;
    }

    public String getInpNurseCode() {
        return inpNurseCode;
    }

    public void setInpNurseCode(String inpNurseCode) {
        this.inpNurseCode = inpNurseCode;
    }

    public String getBillDoctorCode() {
        return billDoctorCode;
    }

    public void setBillDoctorCode(String billDoctorCode) {
        this.billDoctorCode = billDoctorCode;
    }

    public String getBillDepartCode() {
        return billDepartCode;
    }

    public void setBillDepartCode(String billDepartCode) {
        this.billDepartCode = billDepartCode;
    }

    public String getExecDepartCode() {
        return execDepartCode;
    }

    public void setExecDepartCode(String execDepartCode) {
        this.execDepartCode = execDepartCode;
    }

    public String getTstatus() {
        return tstatus;
    }

    public void setTstatus(String tstatus) {
        this.tstatus = tstatus;
    }

    public String getSettTstatus() {
        return settTstatus;
    }

    public void setSettTstatus(String settTstatus) {
        this.settTstatus = settTstatus;
    }

    public String getSettlementCode() {
        return settlementCode;
    }

    public void setSettlementCode(String settlementCode) {
        this.settlementCode = settlementCode;
    }

    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    public String getWholeCode() {
        return wholeCode;
    }

    public void setWholeCode(String wholeCode) {
        this.wholeCode = wholeCode;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getInpCode() {
        return inpCode;
    }

    public void setInpCode(String inpCode) {
        this.inpCode = inpCode;
    }

    public String getCostType() {
        return costType;
    }

    public void setCostType(String costType) {
        this.costType = costType;
    }

    public String getInpCostSource() {
        return inpCostSource;
    }

    public void setInpCostSource(String inpCostSource) {
        this.inpCostSource = inpCostSource;
    }

    public String getInpCostType() {
        return inpCostType;
    }

    public void setInpCostType(String inpCostType) {
        this.inpCostType = inpCostType;
    }

    public String getBeforeInpCostCode() {
        return beforeInpCostCode;
    }

    public void setBeforeInpCostCode(String beforeInpCostCode) {
        this.beforeInpCostCode = beforeInpCostCode;
    }

    public String getIsAppend() {
        return isAppend;
    }

    public void setIsAppend(String isAppend) {
        this.isAppend = isAppend;
    }

    public String getAppendCostitemCode() {
        return appendCostitemCode;
    }

    public void setAppendCostitemCode(String appendCostitemCode) {
        this.appendCostitemCode = appendCostitemCode;
    }

    public String getCostItemCode() {
        return costItemCode;
    }

    public void setCostItemCode(String costItemCode) {
        this.costItemCode = costItemCode;
    }

    public BigDecimal getCostCount() {
        return costCount;
    }

    public void setCostCount(BigDecimal costCount) {
        this.costCount = costCount;
    }

    public Date getChargingTime() {
        return chargingTime;
    }

    public void setChargingTime(Date chargingTime) {
        this.chargingTime = chargingTime;
    }
}
